slight fix to restart irc socket on hang