Avoid MongoClient connect hanging due to secondaries blocking on auth due to write operations or commands like index building