client: ignore stale nodes in random node selection

This could, of course be a problem if all nodes are stale, but it's a
bigger problem for me now where I have one node that's almost, but not
completely dead.