Under unknown conditions, the script stops without processing all images and without throwing any exception.