Run some code when the process exits (supports async hooks and pm2 clustering)
npm install async-exit-hook