pub fn stop_requested() -> Result<impl Future<Output = ()> + Send + 'static>
Register for SIGINT and SIGTERM now; the future completes at the first of them.