STREAMS-190 | Changed private variable to AtomicLong since it is only accessed through atomic operations