The CSOT spec introduces the timeoutMS URI and keyword arg MongoClient option:
>>> client = MongoClient('mongodb://localhost/?timeoutMS=5500')
>>> client.options.timeout
5.5
We need to automatically apply this timeout to every operation by default. Note this option overrides serverSelectionTimeoutMS, connectTimeoutMS, socketTimeoutMS, and waitQueueTimeoutMS.