Stop thread when pressing New game