Fix local metrics

TaskMetrics actually work in local mode now, with a unit test.

Also, I renamed `remoteFetchWaitMillis` to `fetchWaitMillis`, b/c it also includes time spent waiting on the local fetch.