async fn end_when_idle(host: Arc<Host>, limit: Duration, every: Duration)Expand description
Ends the server once it has had no accepted pane for limit, looking every every. A refused connection
(no token, a bad token) does not count as a pane, so it cannot keep the host alive.