If we hit an error, we want to wipe the state machine state, which also includes removing the old endpoint.