How to adjust .net timeout?

When I try to get a bunch of documents from a server installed locally through .net sdk, it always works.

If I try to do the same to a network server, it times out nearly every time. Is there a way to adjust the timeout in the .NET SDK ?

Code example?