Pre-allocate containers asynchronously.