Actually, let's do that in a common function and not spend time on this here in this PR.

We already have a harnessInit(); let's create a harnessExit() and put it there