fix bugs in test case 3 concurrent connection