auto reconnect the idle mongo client