Error logging added for Async and SendMessages