2 ignore SIG_PIPE for calls send() function twice if peer socket is closed,it will cause process exit.