fclose first try. very simple
Merge branch 'nc-fclose'