This way we do not attempt to tear down more than once, which triggers an assert in mutex destruction.