Added limiting of max client connections.