MODIFIED Clustering so that when a thread fails it will try to reboot.