code: @Override
    public void stop() {
      cancellable.cancel();
  
      try {
        selector.close();
      } catch (Exception e) {
        logger().log("Failed to close selctor for " + name + " while stopping because: " + e.getMessage(), e);
      }
    }
docs: =========================================