added limit on the number of concurrent connections