public static function cleanupPidfile($handle, $pidfile)
    {
        flock($handle, LOCK_UN);
        @unlink($pidfile);
        $logger = \Plop\Plop::getInstance();
        $logger->debug(
            'Removed lock on pidfile (%(pidfile)s)',
            array('pidfile' => $pidfile)
        );
    }