Fix concurrent modification exception when unloading chunks.