Connection counter fixup