What if an error happens before this line?
Shouldn't it be:
```
try:
    ...
    ...
finally:
    storage.es.delete_index(es_index)
```