Fixed cap sandbox:restart task.