code: protected void batchStatusStopping() {
  		updateJobBatchStatus(BatchStatus.STOPPING);
  		long time = System.currentTimeMillis();
  		Timestamp timestamp = new Timestamp(time);
  		jobExecution.setLastUpdateTime(timestamp);
  		persistenceService.updateBatchStatusOnly(jobExecution.getExecutionId(), BatchStatus.STOPPING, timestamp);
  	}
docs: /*
  The thought here is that while we don't persist all the transitions in batch status (given
  we plan to persist at the very end), we do persist STOPPING right away, since if we end up
  "stuck in STOPPING" we at least will have a record in the database.