BS-10617, add lock system on getXStream