Websocket connection monitoring fix.