This will ensure that tests get a chance to clean up resources even if setup failed part way through.