Avoid "not master" error from update or remove with lazy-connecting MongoClient, PYTHON-653.