class Ref   retain&release is not ThreadSafe

use lock free