Quote:
so i think it due to race condition or critical section entity
Never think, make sure!
Without seeing your code, it is difficult to know if you did it wrong or not.
Advice: Change your code to
log each burst of data sent to third party app. At least you will know who is wrong.