Multi Sensor Viewer using OpenNI2 Extended API

I tried to use two Astra mini s sensors using OpenNI2 Extended API.
I need to use Extended APIs to switch on and off lasers during two sensors are started.
But my program was stopped after several readings.
(My dev. platform is Visual Studio 2017 on MS Windows 10 x64)

Is there anyone to know the solution for my application.
Are there any other methods to use multiple Astra reading with laser switching.

Followings are my pseudo codes for multiple reading with laser switching.

laser = 1;
device[0].setProperty(openni::OBEXTENSION_ID_LASER_EN,(uint8_t*)&laser,4);
depth[0].readFrame(&depthFrame1);
laser = 0;
device[0].setProperty(openni::OBEXTENSION_ID_LASER_EN,(uint8_t*)&laser,4);
laser = 1;
device[1].setProperty(openni::OBEXTENSION_ID_LASER_EN,(uint8_t*)&laser,4);
depth[1].readFrame(&depthFrame1);
laser = 0;
device[1].setProperty(openni::OBEXTENSION_ID_LASER_EN,(uint8_t*)&laser,4);

In my case the 2.4 firmware update solved this. Support should be able to send you a link, or better, post it here. Just make sure to use the correct firmware for your model, the updater software does not check this.

I could do multi depth viewer with laser switching.
But If I use USB Hub for multi Astra mini s. the stopping is continued.
So I think that we need to select USB connections well for the multi astra applications.
If anyone experienced similar phenomenon, please share me your case.