Continuity in finite time of entropy solutions for nonconvex conservation laws with reaction term