make pymongo compatible with eventlet