Collapse of transient gels in colloid-polymer mixtures