code: @Override
      protected boolean finishConnect(SocketChannel handle) throws Exception {
          if (handle.finishConnect()) {
              SelectionKey key = handle.keyFor(selector);
  
              if (key != null) {
                  key.cancel();
              }
  
              return true;
          }
  
          return false;
      }
docs: {@inheritDoc}