Access to sessions when using .servable with panel serve

when using pn.serve or .show() i can access sessions through pn.state._sessions and i can create a callback to use pn.state.kill_all_servers()
but when using .servable() and panel serve on the command line, the pn.state._sessions is empty and pn.state.kill_all_servers() does nothing…
How do I access sessions when using .servable()?
How do I use kill_all_servers() when using servable()?

You’re right this is not available with .servable(). I’d suggest opening a feature request on Panel’s Github.