Close NetCDF file when done