private function markThumbnailAsBuilt(Connection $connection, array $thumbnail, $built = true)
    {
        $key = $thumbnail;
        unset($key['lockID']);
        unset($key['lockExpires']);
        unset($key['path']);
        unset($key['isBuilt']);
        $connection->update('FileImageThumbnailPaths', ['isBuilt' => $built ? 1 : 0], $key);
    }