Cook potatoes in lightly salted water until firm, not mushy, drain and set aside about 1/2 the potatoes. Mash the remaining potatoes adding stock, sauteed onion, ham, peas, and corn. Return potato pieces seasoning with thyme and salt and pepper. Heat gently. Blend cornstarch with half and half adding to stockpot, continue heating until hot. Serve immediately.