prevent the sound thread from consuming all the available CPU