[Misc] More detais when stopping an XWiki instance
[Misc] Avoid NPE in logs when stopping XWiki (we still need to fix XWiki's shutdown)