do not restart a periodic timer if the callback function has stopped the timer