Sorry mate, I'm having a bit of an off day today
Immagine that there is string of scenes, you are in some of the scenes and then you won't do the task in time so it will puts you back to the first scene.
And there is playing the music and even the first action part in the "at beggining of scene" is removing the background music, the music still plays for a few miliseconds before it's ended.