Made moun_packages script loop while waiting for the network device to respond