We see these sort of failures from Travis occasionally. My best guess is that there are timing issues starting up the server and the client. The test scripts use a simple delay between them.