added wait_for influxdb client port after restart

This will be helpful when we take DB servers in and out of service.