added debug logic to skirt query loop that mitigates informix flakiness