private async Task RunWorker(TcpClient client) { using (var connectedClient = new Client(client)) { await _protocol.ExecuteCommandAsync(connectedClient, _simulator); } }