def update_token(*tokens)
      tokens.map do |token|
        begin
          id = get_id_from_token(token) # As token should be in list
          fail SlackBotManager::InvalidToken if !id || id.empty?

          # Issue reset command
          storage.set(teams_key, id, 'restart')
          true
        rescue => err
          on_error(err)
          false
        end
      end
    end
def update_token(*tokens)
      tokens.map do |token|
        begin
          id = get_id_from_token(token) # As token should be in list
          fail SlackBotManager::InvalidToken if !id || id.empty?

          # Issue reset command
          storage.set(teams_key, id, 'restart')
          true
        rescue => err
          on_error(err)
          false
        end
      end
    end
Restart token connection(s)