code: def mark_pausing(self):
      
      with self._lock:
        self._set_state(self._PAUSING, self._RUNNING)
docs: Requests that the service move to the Paused state, without waiting for it to do so.
  
      Raises if the service is not currently in the Running state.