fix resource leaks;
Merge remote-tracking branch 'origin/4.5.2' into 4.5.2
Corrected existing cfDocDsgExamples and added 2 new ones.
Merge branch '4.5.2' of https://github.com/Unidata/thredds into 4.5.2