Hmm. lookup_node should probably be run in a loop with a timeout or something then, instead of the one shot or throw exception it has right now.