choose random server when many given instead always choosing the last

seed the random number generator befor using it avoids always generating the
same "random" number.