async fn price_worker<N: Network, P: Provider<N> + Clone + 'static>( client: P, market: Arc<RwLock<Market>>, once: bool, ) -> Result<()>