This commit fixes disconnect handling at GTM proxy.   Andrei Martsinchyk reported
this bug and provided the fix.