Right now the bulk indexing code exits with an error if it encounters any errors. It should probably retry at least once before totally giving up.