Binance DEX websocket API gets disconnected too often

we have been using BINANCE DEX websocket api to consume crypto marketdata for a while. our market captures runs almost every day but per every hour, we are experiencing disconnects. This is quite consistent. losing the connection means losing the marketdata which we are not comfortable with in terms of research.

We looked into this and according to your suggestion in this API doc ( https://docs.binance.org/api-reference/dex-api/ws-connection.html ) we started to send keepAlive signal every 30 minutes but that didn’t help. Actually, it worsened the situation. every time, we send that keepAlive signal, we are getting disconnected so that makes it twice the disconnects compared to what we already have.

More about our infrastructure, we run our servers on AWS. Can someone help us figure out the issue? We use c++ via libwebsockets.

For concern from Binance DEX, please refer to https://community.binance.org/
Thank you