pub(super) fn spawn_card_num_expand_tasks(
bridge: &Arc<GatewayBridge>,
ws_key_store_holder: &Option<Arc<KeyStore>>,
rest_key_store_holder: &Option<Arc<KeyStore>>,
grpc_key_store_holder: &Option<Arc<KeyStore>>,
shutdown_rx: &Receiver<bool>,
) -> (JoinHandle<()>, Option<JoinHandle<()>>)