wait/notify for <stream:features>
XEP-0198: fix manual disconnect
XEP-0198: reconnect resource leaking
when XEP-0198 resume fails, the connection is broken :(