Ensure ordering for teardown and setup.