Reduced locking scope for getRandomServer()