fixed a bug in the testscript preventing dflat spawns from getting killed properly