Added class to reset the task engine.