Messages are not sent in a new thread