/**
  * 
  * Checks if the job was aborted (throws exception if so)
  * @throws KalturaBulkUploadAbortedException
  */
 protected function checkAborted()
 {
     if ($this->kClient->isMultiRequest()) {
         return false;
     }
     $batchJobResponse = $this->kClient->jobs->getBulkUploadStatus($this->job->id);
     $updatedJob = $batchJobResponse->batchJob;
     if ($updatedJob->abort) {
         KalturaLog::info("job[{$this->job->id}] aborted");
         //Throw exception and close the job from the outside
         throw new KalturaBulkUploadAbortedException("Job was aborted", KalturaBulkUploadAbortedException::JOB_ABORTED);
     }
     return false;
 }