I saw this problem in monitoring daemons in general, for example, forever and hotnode. As you pointed out, you can grep pids of lost processes. I went so far as to add the killall node to my bootstrap script, actually (a little less verbose than your solution, and a bit overkill, but it effectively solved the problem).
Zane claes
source share