Empty the container before prefetching attachments