fix music_delivery callback synchronization issue when trying to stop playback