add SIG_IGN for SIGPIPE