Bug 1043442 - Improve wait in wait_for_capture_ready()