reindex: Print cache statistics only once at the end of program
reindex: Print cache statistics only once at the end of program

Currently, cache stats are printed after reindexing every index.
Change it to print only once at the end to reduce noise and
computation cost.

Change-Id: I26fbd4baccaa6ad2fb57e52bfd88c1f732358385

GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit