WL-3056 Stop runaway thread when increasing image size.

If we where attempting todo high quality increase in image size (which actually isn't needed) then we would end up with a runaway thread as we would keep resizing, but not actually changing the image size.