How to end every set of curls