@surya00060 ,
Thank you!
I have the same doubts as yours. however, I tried many times and encountered the same issue I pasted above.
I confirm: I have tried many times with only num_workers changed without any other code changed.
By the way, I was doing above training on Windows 10 but  not Linux.
I estimate the above issue could be easily reproduced.