now we can stop the player

It's not elegant, but it'll work.