Perform teardown in any case