Cornstarch has to come to a boil in order for the starch to reach its full thickening capability. It's best to add it while cooking the pie filling on the stove.