code: def cancel(self):
          
          if self._running:
              self.interrupt()
              self._running = False
              self._cancelled = True
              self.loadingFinished.emit()
docs: Cancels the current lookup.