Always close all contexts in closeContextStack(), even if there is an exception.  This ensures all files are closed.
Always close all contexts in closeContextStack(), even if there
is an exception.  This ensures all files are closed.

simoc/mapyrus,simoc/mapyrus,simoc/mapyrus