Fix regression in Timers with long timeouts (#25604)