timers: updated to use time::Duration as per rust master