code: def pause(self):
          
          if self._status == TransferState.RUNNING:
              self._running.clear()
              self._status = TransferState.PAUSED
          else:
              raise SbgError('Can not pause. Download not in RUNNING state.')
docs: Pauses the download.
          :raises SbgError: If upload is not in RUNNING state.