Hershey CFO David Tacka is to retire from the US confectioner at the end of the year.