Fixed cleanup step even further with process.on('exit')