Use `task.reset` to avoid duplication.