code: def _resume_sm(self, remote_ctr):
          
          self._logger.info("resuming SM stream with remote_ctr=%d", remote_ctr)
          # remove any acked stanzas
          self.sm_ack(remote_ctr)
          # reinsert the remaining stanzas
          for token in self._sm_unacked_list:
              self._active_queue.putleft_nowait(token)
          self._sm_unacked_list.clear()
docs: Version of :meth:`resume_sm` which can be used during slow start.