Hmm, is it a Linux VM?
I only ask because I had to write a windows batch file to restart my folding on one of my computers because twice a day it got stuck downloading. So I wrote a batch file to monitor the time stamp of the log and if it didn't change in 3 minutes to kill and restart all the fah processes.