Add a duration timer for tracking long running tasks