Connector, that actually retries to connect to mongodb