I don't see how this loop knows that it has gotten results from all the callbacks before it starts checking for ksafety.