cpTasks.put(e.getKey(), cp);
}
env.addCopyTasksForCacheFile(cpTasks);
if (!task.startExecution()) {
throw new CancelTaskException();
}
// final check that we can go (we do this after the registration, so the the "happen's before"
// relationship ensures that either the shutdown removes this task, or we are aware of the shutdown
if (shutdownStarted.get() || this.registeredId == null) {