make sure we don't loop forever on a possible...

...error case