Make use of a common IP waiting function for all cloud providers

Make use of a common IP waiting function for all cloud providers