handle asynchronous message sending