GTNPORTAL-3218 The global chromattic session context doesn't close prope...

...rly