fix mis-behaving thread timer