added missing subprocess.PIPE object to _clean_network_interfaces