Fix glitch when a file is closed while its io thread operation is pending

I think this only affected if you ran multiple games in the same run, since it didn't clear between.  Caused the second game to hang if there were pending results for it.

I'm still not sure what's causing the other issues, though...

-[Unknown]