Flush ES indices at dist upgrade