Use random sample for prefered host in server task