fix websocket reconnect strategy