splicing socket array on disconnect