Turns out that not all images had Build Action set to "Content" 🤦♂️ Changing this fixed the issue. Maybe exception handling is now slower and I didn't noticed the exceptions earlier. I'm sure there was no 30s lag in previous commits.