Fix cache population

* Do not iterate the ResourceClosingSequence twice.