configuring of indexes needs at least a valid recovery state. due to a

race condition, the indexes sometimes got configured while not yet
available. added retries in the case they're not yet loaded, fail after
5 unsuccessful retries (500ms sleep between retries)