Updated to finalize a thread that terminated even if there are no current Tcl interpreters associated with it