XWIKI-11008: Allow stopping running XWiki instances when starting a new instance
* Fix bug