Make ignoring of SIGHUP optional (disabled by default) in order to prevent
process leaks.