Pseudocode:
ws = unified_trading.WebSocket()
ws.exit()
The websocket closes just fine. But it throws nonstop errors afterwards because the websocket is still trying to ping even though it's already closed.
This should be fixed easily in the _WebSocketManager._send_custom_ping method by checking if the ws is already closed.