fix the irc_socket_uses_100%_CPU bug