removing websocket message listeners after handshake complete