I think we can ignore SIGPIPE when "send" syscall can return EPIPE:
diff --git a/src/lib/sockio-c.c b/src/lib/sockio-c.c
index 17cc1056..683fd7c4 100644
--- a/src/lib/sockio-c.c
+++ b/src/lib/sockio-c.c
@@ -882,9 +882,11 @@ open_server(char *server_name)
init_socks();
#ifndef HAVE_MSG_NOSIGNAL
+#ifndef HAVE_EPIPE
#ifdef SIGPIPE
bsdSignal(SIGPIPE, sigpipe_handler,RestartSystemCalls);
#endif
+#endif
#endif
if (make_server_name(name, server_name) == -1)
return -2;