add persistent connection in the simultaneous connections sample