fix close connection when read timeout

Timeout error may not close the connection, like `subscribe`.