There is a big comment in thread.rkt that explains the problem and the "fix". I think something better could and should be done, but I don't know what it is.