Support specifying timeout for http connections, default to test length.