clean, error handling on WebSocket request