[18.09 backport] Harden TestClientWithRequestTimeout Upstream-commit: c88e4f77aaefa1278da5867845e5e9a60b73370f Component: engine