Exit when no nodes can be found