Remove synchronization, instead using AtomicLong