Sadly unplugging/replugging headphones can cause the sound to stop playing, to my understanding this is a GameMaker issue that I don't have any control over...
The clock spinning forever bug has been fixed in newer builds though! I recommend playing on the latest one (V11) which was released just at the beginning of this month ^^
In any case, thank you for reporting this ^^