At the end of a reindex task, go back to Ruby and clear caches.
Merge remote-tracking branch 'upstream3/master'