Websocket disconnected

hi, i’m using python library: python-binance/binance at master · sammchardy/python-binance · GitHub
I have it like this:
async with DepthCacheManager(client, symbol=‘DGBBTC’, refresh_interval=0, ws_interval=100) as dcm_socket:
while True:
depth_cache = await dcm_socket.recv()
bookBinanceAsks = depth_cache.get_asks()[:5]
bookBinanceBids = depth_cache.get_bids()[:5]
saveData()
await client.close_connection()

my last message was this day: 2021-12-21 01: 09: 52.757

my error log:

…(more log)…
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:08:37.629795
WARNING:binanceee.streams:Inicio stream Binance: 2021-12-21 01:08:48.237609
WARNING:binanceee.streams:no message in 10 seconds
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:08:48.237609
WARNING:binanceee.streams:Inicio stream Binance: 2021-12-21 01:08:48.237609
WARNING:binanceee.streams:no message in 10 seconds
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:08:48.237609
WARNING:binanceee.streams:Inicio stream Binance: 2021-12-21 01:10:01.950409
WARNING:binanceee.streams:exception code = 1001 (going away), no reason
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:10:01.950409
WARNING:binanceee.streams:Inicio stream Binance: 2021-12-21 01:10:02.779475
WARNING:binanceee.streams:no message in 10 seconds
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:10:02.779475
WARNING:binanceee.streams:Inicio stream Binance: 2021-12-21 01:10:12.785510
WARNING:binanceee.streams:no message in 10 seconds
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:10:12.785510
WARNING:binanceee.streams:Inicio stream Binance: 2021-12-21 01:10:22.794672
WARNING:binanceee.streams:no message in 10 seconds
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:10:22.794672
WARNING:binanceee.streams:Inicio stream Binance: 2021-12-21 01:10:32.800843
WARNING:binanceee.streams:no message in 10 seconds
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:10:32.800843
WARNING:binanceee.streams:Inicio stream Binance: 2021-12-21 01:10:42.808382
WARNING:binanceee.streams:no message in 10 seconds
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:10:42.808382
WARNING:binanceee.depthcache:Inicio DepthCache Binance: 2021-12-21 01:10:52.769541
WARNING:binanceee.depthcache: 2021-12-21 01:10:52.769541
WARNING:binanceee.depthcache:Fin DepthCache Binance: 2021-12-21 01:10:52.769541
WARNING:binanceee.streams:Inicio stream Binance: 2021-12-21 01:11:02.786602
WARNING:binanceee.streams:no message in 10 seconds
WARNING:binanceee.streams:Fin stream Binance: 2021-12-21 01:11:02.786602
…(more log)…

At what point do I get disconnected? Why stop receiving messages?

Try using the official binance package and see if the problem persists. Do ensure you have stable internet connection.

what is a new library? I did not know it, before the official was the one I was using, correct?

Using this library, how can I wait for the message asynchronously?