closing open handles before and after TF2 is run, fixes #24