[COOK-378] Use teardown to stop apparmor