initial mongo connection retry implemented, auto connect on mongo connection loss implemented