static void AdjustTimeout(ref TimeSpan timeout)
 {
     timeout = timeout.AdjustForDebugging();
 }