register a signal handler on SIGPIPE if there is none already registered

+ cleanings