incorporate cancellation tokens into image downloads