Let the client retry longer, to make sure the server will time out before the client gives up. Make it really longer to get a deterministic client exit status (make sure it has time to reconnect after the server timeout).