[Evgeny, Daniel] Messenger: fixed message dispatch to avoid changing array of subscribers during dispatch