Fix a timed out connection going into the keep-alive state after a timeout when discarding a request body. PR: 51103