Is the cosmological singularity thermodynamically possible?