Fix a bug in onBackendConnection function of Tunnel.h

enable backEnd long-time connection shutdown without any influence on frontEnd