[cppmyth] Fix infinite recursion on connection hang