Use latest junit maven config and close test resources

This is an attempt to stop some of the flakiness in `SpdyConnectionTest` `URLConnectionTest` and `HttpOverSpdyTest`