Wait for irc to be ready