Pymongo socket and connections handling, explained · HackerTrans