Allow async_for_each to modify the container.