Lazy connection client for MongoDB