Why not use sync/atomic package? I do not need a lock here.