Hopefully fixed lost messages by adding a delay between connection
establishment and reading data on recieve