attempt to implement a hangup for periodic timers in a cludgy way