Fix esreindex so it doesn't hose refresh interval

If you killed esreindex command while it was working, it wouldn't set
the refresh interval back which causes all kinds of problems.

This fixes that by throwing that whole thing in a try/finally and
setting it back at the end regardless of what happened.

r?