fix too opaque connections when out of scope