1.add max connection test case; 2.modify the impletation logic of connection limit