Fixed handling of SIGHUP/SIGUSR2