close stream after failed connection attempt (including exceptions)
Merge branch 'master' of github.com:pontarius/pontarius-xmpp