code: public synchronized OutboundConnection remove(EndPointDescriptor descriptor)
     {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "remove", descriptor);
  
        final LinkedList connectionList =  descriptorToConnectionListMap.get(descriptor);
        OutboundConnection connection = null;
        if ((connectionList != null) && (connectionList.size() > 0))
        {
           // Remove the first entry from the list.
           Object[] connEntry = (Object[])connectionList.removeFirst();
           connection = (OutboundConnection)connEntry[0];
  
           // Invalidate it's alarm, so that we don't try and close
           // the connection because it has been idle for too long.
           ((AlarmValid)connEntry[1]).invalidate();
  
           // Reset the link level state so that the state does not
           // survive the pooling process. This may be null if on z/OS and the
           //WMQRA or MEP function are the only users of the connection.
           final LinkLevelState lls = (LinkLevelState)connection.getAttachment();
           if(lls != null) lls.reset();
        }
  
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "remove", connection);
        return connection;
     }
docs: Attempts to remove a connection from the pool.  If a connection is available
  for the specified endpoint descriptor, it is removed from the pool and returned.
  If no suitable connection is present, a value of null is returened.
  @param descriptor An endpoint descriptor which specifies the remote host to which
  the connection returned must be connected.
  @return A connection, if present in the pool, otherwise null.