code: public void remove(final EventConnector eventConnector) {
          if (eventConnector != null) {
              try {
  
                  if (eventConnector instanceof RemoteTCPClientProxy) {
                      final RemoteTCPClientProxy remoteTCPClientProxy = (RemoteTCPClientProxy) eventConnector;
  
                      logger.info(Str.sputs("Removing event connector host ",
                              remoteTCPClientProxy.host(), " port ", remoteTCPClientProxy.port(),
                              "connected ", remoteTCPClientProxy.connected()));
                      remoteTCPClientProxy.silentClose();
                  }
                  this.eventConnectors.remove(eventConnector);
              } catch (Exception ex) {
                  logger.error("Unable to remove event connector", ex);
              }
          }
      }
docs: Remove an event connector
  
  @param eventConnector eventConnector