Auto reconnect fails most over the time

mqtt clinet is not auto reconnecting sometimes after kick out from dashboard even after autoreconnect flag is true.
(network is stable)
please help me out.

which client is it?

Both Publisher and consumer client