Recover from errors during collection and evaluation by resetting parts of the task engine.