Added timer_free to clean-up routines.