Update cache tab to possibly fix memory leak

Removing the direct use of the Enumerator as we are processing items in
the list. Also removed out, incase that was causing issues.