Details
Description
There is a race between the server handler finishing before the client handler in the ServerSendsMultipleMessages test, which happens because the client handler sends a message and then immediately returns, which in turn will cause runWithServers to shut down the server. If that happens before the server handler has had a chance to complete, the test fails because the server handler can't read the message from the client. We should update this test so that the client handler waits for some form of confirmation from the server end before exiting.