add the ability to limit no of connections