I see what you’re saying. I don’t think there’s an automatic way to do this now. I’m planning a change (after this thread) that might make the situation better. It will have the side effect of starting a new session if all connected clients have disconnected.
Another possible reference for you is DNS tunnel that can do DoH and DoT · Issue #30 · net4people/bbs · GitHub.