mac doesn't have MSG_NOSIGNAL