cache connections per region

Without this, only the first region was analyzed