Imported issue was from hfaouaz:
It seem that once we loose connection between the gateway and yahoo, the XMPP connection doesn't know abt it. So next message gets refused due to Yahoo is not logged in. The reconnect on disconnect doesn't get called, so the yahoo connection stays off-line. We have updated the code to detect the exception thrown upon a message broadcast, and we attempt to connect to yahoo again.