fix cap restart task