code: @Override
    public void close() {
      if (closed) return;
      
      closed = true;
      
      try {
        selector.close();
      } catch (Exception e) {
        logger.log("Failed to close selctor for: '" + name + "'", e);
      }
      
      try {
        channel.close();
      } catch (Exception e) {
        logger.log("Failed to close channel for: '" + name + "'", e);
      }
    }
docs: =========================================