CachedResource leak in validation code