At the end of a reindex task, go back to Ruby and clear caches.