refactored wakeUp() with TimerEvent priorityQueue