Abort reference and lock the reference in the assembly