close the test suite message properly even if the process exists in the middle