Prune after old links are gone, otherwise they could still be starting, and store their suffixes after we prune, leading to a tiny leak.
Merge bug26299