Remove CRecord.Closedown from the program code