i am currently doing this:
process.on('exit', () => db.close()); process.on('SIGINT', () => process.exit());
but I wonder if there is an event that is called no matter how the process exit because process.on(‘exit’) doesn’t work if the process is terminated using ctrl+c