Instrument the execution of tasks with a Timer

Tasks are now instrumented using a Timer and can be found in the metrics registry with a name of `task.{task-name}`.