private static TimeoutException OperationTimeout(Exception ex) { return new TimeoutException("Operation timed out.", ex); }