handle elastic/mongo reachless and reconnect while it fixes
ping client availability and if there is an error close connection and sleep until client is available
ping client availability and if there is an error close connection and sleep until client is available