XWIKI-10465: MailSender.waitTillSent() should only wait for mails sent by the current Thread