fix the closing io error of the apache bench