Implement reset task.