This error message comes when using websockets. It keeps repeating if it is in a loop.
Basically we can’t depend on the API for algorithms.
Error in websocket: cannot schedule new futures after shutdown
The exception messages are not meaningful enough.