Stop autofocus if we fail to capture the image