call self.stop before raising a SystemExit exception