close half-close socket when sendding buffer done