fix: for wrong exit status code when setup/teardown raising an exception

reviewers: @uvizhe