Operation to show message and updating .flush file is done before closing CGNS file, so that it works well with iRIC GUI in case CGNS file is very big, and cg_close() takes long time.
Message fixed:
Before: Copying CGNS file. This may takes a long time.
After: Copying CGNS file. This may take a long time.