Fix build by adding teardown.