public void clearJob() {
    EncodedImage oldEncodedImage;
    synchronized (this) {
      oldEncodedImage = mEncodedImage;
      mEncodedImage = null;
      mStatus = 0;
    }
    EncodedImage.closeSafely(oldEncodedImage);
  }
Clears the currently set job.

<p>In case the currently set job has been scheduled but not started yet, the job won't be
executed.
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/JobScheduler.java