Dynamical instability for non-adiabatic spherical collapse