You should try setting a custom TransportConnectTimout on the client in this test.