pub(crate) fn set_shutdown(token: CancellationToken)
Give the shutdown route the token that ends the server.