Reset read/write metrics to 0 before each task.

Otherwise, because tasks can be run in the same thread
where earlier tasks were run, the times may include time
from previous tasks.