private function isDead(JobConfigurationInterface $configuration)
    {
        $report = $this->reportManager->getLastStartedByConfiguration($configuration);

        return $report && $report->getPid() && (false === $report->isSuccessful()) && !posix_getsid($report->getPid());
    }