GloballyCleanableResource is supposed to be implemented by any class that provides
artifacts for a given job that need to be cleaned up after the job reached a global terminal
state.
globalCleanupAsync is expected to be called from the main thread. Heavy IO tasks
should be outsourced into the passed cleanupExecutor. Thread-safety must be ensured.
Parameters:
jobId - The JobID of the job for which the local data should be cleaned up.
cleanupExecutor - The fallback executor for IO-heavy operations.