Can you free a threaded query inside its own ThreadFinished - or ThreadExecuted section?
I'm trying to use a threaded background query inside my WebSnap application, and once it's been created and has finished, no code has access to the handle - so ThreadExecuted is the only place I can recover...