On node 14 [streams close automatically](https://github.com/nodejs/node/pull/31408) which caused `cursor.on('close', callback);` to call callback twice, since we emit 'close' manually in mongoose. To fix this we need to check whether the cursor is destroyed or not, if destroyed, do nothing.