client: remove irc commands on shutdown (if enabled)