code: private void onEndStepProgress(Object source)
      {
          // Try to find the right step based on the source
          DefaultJobProgressStep step = findStep(this.currentStep, source);
  
          if (step == null) {
              LOGGER.warn("Could not find any matching step for source [{}]. Ignoring EndStepProgress.",
                  source.toString());
  
              return;
          }
  
          this.currentStep = step;
          this.currentStep.finish();
      }
docs: Close current step.