add exit to image_saver