Added the virtual destructor to the AbstractTimer.