code: public void close()
    {
      SocketPool loadBalancePool = _loadBalanceSocketPool.get();
      
      if (loadBalancePool != null)
        loadBalancePool.getFactory().close();
      
      SocketPool clusterPool = _clusterSocketPool.get();
      
      if (clusterPool != null)
        clusterPool.getFactory().close();
    }
docs: Close any ports.