Added SIGHUP handler.