Test and fix IrcConnection status handling