final protected OutgoingBatch requeryIfEnoughTimeHasPassed(long ts,OutgoingBatch currentBatch){
  if (System.currentTimeMillis() - ts > MS_PASSED_BEFORE_BATCH_REQUERIED) {
    currentBatch=outgoingBatchService.findOutgoingBatch(currentBatch.getBatchId(),currentBatch.getNodeId());
  }
  return currentBatch;
}

final protected OutgoingBatch requeryIfEnoughTimeHasPassed ( long ts , OutgoingBatch currentBatch ) { if ( System . currentTimeMillis ( ) - ts > MS_PASSED_BEFORE_BATCH_REQUERIED ) { currentBatch = outgoingBatchService . findOutgoingBatch ( currentBatch . getBatchId ( ) , currentBatch . getNodeId ( ) ) ; } return currentBatch ; }
if time has passed , then re - query the batch to double check that the status has not changed
