i want to request data at runtime and i am using USER_DISPATCH operation model. i am referring example130__MarketPrice__UserDisp. but when i am removing below code and trying to access data for the first time i get following logs as in (screenshot-1.png) and stream gets closed.
long startTime = System.currentTimeMillis(); while (startTime + 60000 > System.currentTimeMillis())
but when i add above two lines of code then my code runs perfectly for first time as well as i am able to request data for second item while stream is still fetching data for first item but at last when stream for both data items gets closed i get following error as in (SCREENSHOT 2)