The thread=False parameter seems to be required for MongoDB, if you know a better way please PR :)