Use an empty signal handler for SIGPIPE instead of SIG_IGN