daemon.cleanupMetricsPlugins(): fix Upstream-commit: 991d64eeb3ee97078a03b88185bee177c6551896 Component: engine