Set or limit number of connections a single pymongo client will open
Use the following parameter to set the number of maximum connections from your pymongo app.

client = MongoClient(host, port, maxPoolSize=10)


Here is documentation with more details.