docs: final boolean cancel(boolean deleted) {
          synchronized (mMonitor) {
              if (!isFinished()) {
                  if (!mCanceled) {
                      mCanceled = true;
                      onCancel();
                  }
                  mDeleted |= deleted;
                  return true;
              } else {
                  return false;
              }
          }
      }