setTimeout with a simple reset API (e.g. useful for watchdog-timers)