Throw RuntimeException and stop indexing if it's not possible to index a line
Releasing index resources in a finally block