Added sleep for send message to work