Detach old managed copy as no more references on it