Stability of superconducting states out of thermal equilibrium