Add restart task.