There's a workaround the `WebSocketApp.run_forever()` ([websocket_client lib](https://github.com/websocket-client/websocket-client)) which would raise a `TimeoutError` from time to time.. It is a SSL timeout. Investigate if the ssl timeout is from the server side or client side. If it is from client side, configure ssl options correctly and remove the workaround.