@MainThread
  private void callOnStopJobImpl(
      JobCallback jobCallback, boolean needToSendResult, @JobResult int terminatingResult) {
    boolean shouldRetry = onStopJob(jobCallback.job);
    if (needToSendResult) {
      backgroundExecutor.execute(
          UnitOfWork.finishJobWithResult(
              jobCallback, shouldRetry ? RESULT_FAIL_RETRY : terminatingResult));
    }
  }
Calls {@link #onStopJob(JobParameters)}. Should only be run on the main thread.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/JobService.java