XWIKI-8690: Make sure all index reader and writers in the lucene plugin are explicitly closed.