I am having problems with trying to make this script repeat the input. After I enter the Ip address, it outputs with the available ports but when its finished it closes out.