avoid potential memory leak for cache files that have been downloaded multiple times. Not sure that this is the cause anyway.