adjusted mongoose error when using mocha's --check-leaks