Fix Automattic/mongoose#3481; flush callbacks on error
Fix Automattic/mongoose#3481; flush callbacks on error

mongodb-js/mongodb-core,andrasq/mongodb-core,mongodb-js/mongodb-core,andrasq/mongodb-core,christkv/mongodb-core,christkv/mongodb-core