On the effect of soil wetness on thermal stress