'Disable and reset any features used since stream management was
requested (tracked stanzas may have been sent during the interval
between the enable request and the enabled response).
Raises an :term:`sm_failed` event.'

def _handle_failed(self, stanza):

    self.enabled.clear()
    self.unacked_queue.clear()
    self.xmpp.event('sm_failed', stanza)
