NXP-12947: add debug traces for h2 lucene index closed failures