Fix selector for exception handling in XMPPConnection