add sigpipe ignore to avoid crash

Signed-off-by: xiehuc <xiehuc@gmail.com>