private function tryDeleteFile($path) {
        $interval = 100000;
        $totalTime = 0;

        while (file_exists($path) && !unlink($path)) {
            if ($totalTime >= $this->accessTime) {
                return false;
            }

            usleep($interval);

            $totalTime += $interval;
        }

        return true;
    }