add reference counter for scanner process