Added graceful shutdown on SIGHUP

"process" local is unused