Wrap a run loop around simulated remote calls