Fix exception in background metrics collection