Maybe this would be nicer in a function, e.g. `findOpenPort(sample(3000:8000, 20))`