wait for influxdb port after restart