Because in Nodejs 12-14 unhandled rejections don't trigger uncaughtException event by default so the process doesn't exit in case of errors.