Replace time_watcher observation with the RAII idiom.