fix intermitted failure, probably due to another test hanging on to some ports