sample api client to test the server with slow connections