harden SystemMetricsLogger to prevent crashing the druq