Does your character have a lifebar or lives counter? If so, you can set an event like this:
+ Milkway is playing (negate this so that it tells the code that it IS playing when you have more than zero health) > Stop sample "MilkyWay"
This is how i do it in my game and it works perfectly. Good luck!