DRY this out... create a method to set the ownership of the cache, and call it at the beginning-and-end of the process.