public Task Do(IDictionary <string, object> stepParameters, IDictionary <string, object> pluginParameters, IList <IRpcClient> clients) { Log.Information($"Stop connections..."); var data = new Dictionary <string, object>(); SignalRUtils.AddMethodAndType(data, stepParameters); return(Task.WhenAll(from client in clients select client.QueryAsync(data))); }