Destroy node: Fix exception type on cleanup