Add autoreconnect and autoretry to IRC bot.