code: def abort(self):
          # type: () -> None
          
          # Tell _call_do_run not to resume
          if self.resume_queue:
              self.resume_queue.put(False)
          self.try_aborting_function(ss.ABORTING, ss.ABORTED, self.do_abort)
docs: Abort the current operation and block until aborted
  
          Normally it will return in Aborted state. If something goes wrong it
          will return in Fault state. If the user disables then it will return in
          Disabled state.