XWIKI-11086: Test framework may fail to wait properly for XWiki to start when an existing instance is running