Moved the index collection to aio_close.