Improved TrackAndIncrement cache invalidation implementation