XWIKI-9356: Thread safety issue when unregistering a wiki component