Added limit on number of possible connections