72dc3eb65b
pv list, there is no point in checking whether or not the pv list is empty. Instead, wait until the loop completes.