US food group J.M. Smucker has decided to close two plants in Canada.