Re-factored destroy_node to not rely on the azure sdk library.