Closing the IndexReader after task done.