Added the option of random server connection.