Add the MSG_NOSIGNAL flag to socket send calls to prevent application crash on disconnect on linux systems