Kill shared pointer.