Cache MongoClient instances for connection sharing.