Also get the refcount lock when incrementing the refcount