I was getting inconsistent results when testing locally and causing the sender to overflow the server so that it was dropping data. When I added even a modest sleep between sends it allowed the client and server interaction to complete successfully so that I can could the messages.