adjust max connection