Improve client side websocket reliability