wait-for-io-to-complete/user in drscheme:rep:text%

This waits for all pending IO in the rep to finish and then returns.

This method must only be called from the main thread in the user's eventspace