fix the test failing: assertEquals(0, connection.openStreamCount()) of getResponseHeadersTimesOut