import a patched pymongo and added a hard-coded max_pool_size