public async Task<Dictionary<string, string>> GetProcessEnvironment(TimeSpan timeout)
 {
     if (_useAsync)
     {
         using CancellationTokenSource cancellation = new CancellationTokenSource(timeout);
         return await _client.GetProcessEnvironmentAsync(cancellation.Token).ConfigureAwait(false);
     }
     else
     {
         return _client.GetProcessEnvironment();
     }
 }