Added node failure handling.