CSharpProxyTemplate - avoid AggregateException and throw inner exception