Added user input verification.
Allows the user to try again if the server name is not correct (hostname not found, or server unreachable)
Allows the user to try again if the command is not correct