private void recordGeneralMetric(String jobState) {
      dtpInternalMetricRecorder.recordGenericMetric(
              JobMetadata.getDataType(),
              JobMetadata.getExportService(),
              jobState,
              JobMetadata.getStopWatch().elapsed());
    }
A service that polls storage to see if a job is canceled, if it is it kills the binary.
portability-transfer/src/main/java/org/datatransferproject/transfer/JobCancelWatchingService.java