$hosts{$_} == $table_count or delete $hosts{$_} for keys %hosts;