@WorkerThread
  private void handleOnUnbindEventImpl(Intent unusedIntent) {
    synchronized (runningJobs) {
      for (int i = runningJobs.size() - 1; i >= 0; i--) {
        JobCallback callback = runningJobs.remove(runningJobs.keyAt(i));
        if (callback != null) {
          // Ask the job to stop. onStopJob needs to be called on the main thread
          mainHandler.post(
              UnitOfWork.callOnStopJob(
                  this,
                  callback,
                  /* needToSendResult= */ true,
                  /* terminatingResult= */ RESULT_FAIL_NORETRY));
        }
      }
    }
  }
Removes the provided {@code job} from the list of {@link #runningJobs} and sends the {@code
result} if the job wasn't already complete.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/JobService.java