Fix a race in Http2ConnectionRoundtripTest that could lead to a NPE.