**It's a bug.** You loose what you put in the cache after each loop.