reusing websocket