Fixes #5876: Missing report for metrics sending if it is disabled
Merge pull request #583 from jooooooon/bug_5876/missing_report_for_metrics_sending_if_it_is_disabled

Fixes #5876: Missing report for metrics sending if it is disabled