adjusted mongoose error when using --check-leaks