Synchronize message sending

Issue: SPR-12516