improve destroyNode checks and log messages