This is covering up a problem where some teardown events will be lost if a setup event is pending