XWIKI-10630: Mail Sender's waitTillSent() API should wait till the message is actually sent before returning