- filter sockets to remove disconnected ones