optimizing jabber reconnects