imported sleep in irc_connection