I need to verify some settings, after my PuT (Program under test) is closed.
That's why i close the Program by a File/Exit click.
All lines of code after this exit click were executed correctly,
but the test hungs at the end and won't finish.
I suggest it's because he wants to close the program, which is already closed.