Superintendent to retire after school year ends