There are episodic failures in this test when running under AppVeyor, check if retrying to connect can work around them.