stop countdowntimer when possible

this is issue #36