XWIKI-9524: Exception thrown when closing XWiki and the Solr indexing queue is full
* Prevent another type of exception when XWiki is closed while the indexing operation is in progress.