made message sending asynchroneous