How to fully stop functional tests

Marvin, the entire question is about how to deal with the situation where it never manages to reach FinishTest because of something like a crash.