Fix to loop for all tun devices