Fix thread cleanup on errors in BulkIndexer
Minor optimization in SourceLineResultSetIterator
Use the same input size for sourceline ES and DB benchmarks
Fix compatibility of ES 1.4 with KOPF