@Override
  public @Nullable WatchKey poll(long timeout, TimeUnit unit) throws InterruptedException {
    checkOpen();
    return check(queue.poll(timeout, unit));
  }
Called when the given key is cancelled. Does nothing by default.
jimfs/src/main/java/com/google/common/jimfs/AbstractWatchService.java