Make WS reconnects more stable