WebSocket cleanups.