Fix Websocket Connection count issue