Prevent SIG_PIPE during socket send operation