Using a better way to check if ports are available.