passing card data up to API, fixed audioIO thread crash by calling closeDevice from main thread