Improved: WebSocket repeatedly attempts to reconnect when disconnected.