private function saveReport(JobConfigurationInterface $configuration)
    {
        $report = $this->reportManager->create($configuration);
        $report
            ->setEndedAt()
            ->setOutput('Job was dead and restored.')
            ->setSuccessful(true);

        $this->reportManager->add($report, true);
    }