Added node failure check