Use MolDSException::Seriliarize/Desirialize to pass exceptions out of OpenMP loops. #31716