Added a SIGUSR2 trap for deleting the pidfile when nodemon restarts the process