Better code to stop looping sounds