Fixing issue with reading stanzas after session close.

Adding logging when exception is thrown on the Kixmpp client.