Avoid busy-waiting when not getting images.

If we're waiting for a webcam to boot, it would end up in a busy loop and peg the CPU.