This commit fixes a bug that GTM ramains control file opened.  Stefan Himpich
reported the bug and suggested a fix.