Fixed issues with trying to restart TimerTasks.