GS-11795 refactoring, method terminateGSC() fixed