fix bug that could lead to a wrong timer event list

this had lead to ugly lock-ups