Sometimes an error is passed to finish()
Add source stopping logic to indexer