fix http 1.0 close connection bug