Bugfix handling SIGHUP