Fixed websocket connection