Split connection list into two lists: