SIGPIPE is not a good way to die