Don't close the connection from the heartbeat if it's already closing.
Don't close the connection from the heartbeat if it's already closing.

pmuetschard/gapid,google/agi,google/agi,Qining/gapid,Qining/gapid,google/agi,Qining/gapid,google/gapid,google/agi,google/gapid,Qining/gapid,google/agi,google/gapid,google/gapid,Qining/gapid,google/gapid,google/agi,google/gapid,pmuetschard/gapid,pmuetschard/gapid,Qining/gapid,pmuetschard/gapid,pmuetschard/gapid,pmuetschard/gapid,google/gapid,Qining/gapid,google/agi,google/gapid,pmuetschard/gapid,Qining/gapid,pmuetschard/gapid,google/agi