NMS-6903 use a random open port for the test