Make indexes concurrently

If you used multiple processes on different shards, the first one to
finish would create the index and it would block/slow down the others
to the point where they couldn't finish. This is an attempt to fix that.