async fn stop_daemon( state: CupratedRpcHandler, request: StopDaemonRequest, ) -> Result<StopDaemonResponse, Error>