Probably a better way to handle the deploy_node race condition