Handle exceptions during destroyNode