patch from upstream to restore SIGPIPE default action