Basic timer queue implementation.