Add StreamStanza to stanzas.
Send close stanza on session fail.