docs: protected void markStepForFailure() {
          StopLock stopLock = getStopLock(); // Store in local variable to facilitate Ctrl+Shift+G search in Eclipse
          synchronized (stopLock) {
              updateStepBatchStatus(BatchStatus.FAILED);
              if (!issuedFailureMessageToJobLog) {
                  stepThreadHelper.logFailedMessage();
                  issuedFailureMessageToJobLog = true;
              }
          }
      }