Check if node is destroyed in async calls