I forgot to mention that if your adapter is a .NET adapter, there is a timeout parameter (<param name="timeout">) you can configure on the adapters.xml of the java proxy adapter.