How to tell if a caterpillar is making a cocoon