Dead cocoons are now properly destroyed. Fixes #98