clean my resend_buf upon quit