synchonrize the returning of connections