Avoid crashes when InfluxDB is unreachable