add exception handling to IrcTask base class