Avoid race condition in test.

In detail: server configures TCP/IP stack, client executes before
server has had a chance to open the test socket.