Adding a configurable max connection attribute.