Give the print job enough time to complete

OR

Use a smaller JPEG file