Stop before detach