[bugfix] invalid used et->events and try flush buf massage into network before close
[bugfix] invalid used et->events and try flush buf massage into network before close