Reverse order of files in inner tee: diff command exits unexpectedly without ls of files first
Comment out the ls to try on a real re-run
Try a sleep to allow tee to complete