retry WebSocket if long-poll fails