sighup && sigpipe added