add max connection