Ensure that the audio send thread exits