Make preindex fail loudly and finish only when views are done reindexing