Fixed issue with async chatting. Closes #731