This appears to be infinite -- we should cap the amount of time we wait here -- really this shouldn't take long, but if we're waiting more than 10 minutes I think that doesn't make sense -- it could easily mean there is a problem with the image.

We also need to handle the case where it times out.