complete the offset manager with atomic long