Fix tasks never finishing (and thus never starting their deps)