Don't invalidate self.app because it's needed in close_cert_app