When you want the music to stop, put Music.Stop() . If you want it to stop in a different script, put it at the top outside the loop.
or at the top of your script you can change the:
music = Music.PlayFile("music.it" )
to:
music = Music.PlayFile("music.it" , false)
