properly quit irc after sending failure/success