Prevent crashes in libheif by avoiding metadata extraction for malformed HEIC/HEIF files. Adjust job concurrency and thread settings for improved performance in production.