PYTHON-4877Ready for Work
python3 process shutdown is unreasonably slow after MongoClient (500ms)
h3. Detailed steps to reproduce the problem? Prior to creating a MongoClient object, exiting the python3 process is reasonably fast at ~75ms (about ~60ms of which can be attributed to pymongo): However, once a MongoClient object has been created, the time increases significantly by ~500ms: I can see from the mongod logs that a connection is opened and closed 1-2ms later. But the problem occurs strictly during the python3 process shutdown (ie. calling {{.close()}} on the Mongo