fix: pytest cluster teardown
Both !73 (merged) and !83 (merged) missed a bug. Iteration over instances could be aborted by an exception during teardown. It resulted in garbage process remaining alive after pytest termination.
Both !73 (merged) and !83 (merged) missed a bug. Iteration over instances could be aborted by an exception during teardown. It resulted in garbage process remaining alive after pytest termination.