websocket close_wait status.  how to solve ?
how to resolve the websocket's close_wait status.
 as it is preventing new connections from coming in.

My onClose function:

     /**
     * This is called before or after a socket is closed (depends on how it's closed).  SendMessage to $conn will not result in an error if it has already been closed.
     * @param  ConnectionInterface $conn The socket/connection that is closing/closed
     * @throws \Exception
     */
    function onClose(ConnectionInterface $conn){
        /*** quando o usuário fecha a sessão ws, ele remove da variável dos clients, e exibe no websockets.log ***/
        $this->clients->detach($conn);
        echo "Connection {$conn->resourceId} has disconnected\n";
    }
