code: public void removeConnection(WebSocketConnection conn) {
          conns.remove(conn);
          for (IWebSocketDataListener listener : listeners) {
              listener.onWSDisconnect(conn);
          }
      }
docs: Remove connection from scope.
  
  @param conn
  WebSocketConnection