limit number of active connections