fix close connection when read timeout