fix for THRIFT-2390 

fix for THRIFT-2390 (no close event when connection lost)