Have the Simple Client in tests close the write stream

This helps to trigger the Server that there is data ready to be
read and makes the tests faster.