Loop for non-blocked connect.