Added a queue to the send message function.
Authored by: tobivw 2019-09-10
Parent: [r14]
Child: [r16]