small code clean up in GetRandomPort(); we should test if port is in use on machine.