code: public ConnectionTcp findConnectionByThreadId(long threadId)
    {
      ArrayList<ConnectionTcp> connList
        = new ArrayList<ConnectionTcp>(_activeConnectionSet.keySet());
  
      /*
      for (ConnectionTcp conn : connList) {
        if (conn.getThreadId() == threadId)
          return conn;
      }
      */
  
      return null;
    }
docs: Find the TcpConnection based on the thread id (for admin)