Could you please confirm that the method hangs for the infinite period, or, probably, the method throws "time out exception" after approximately 10 minutes of waiting?
If the second is right, this is the known problem when the server seldom does not send back the confirmation of the order execution. Unfortunately, there is no workaround for this problem in the current version.
The next version will have asynchronous version of these methods, which will work extremely fast, but you have to monitor the tables to check whether the order is executed.
You can also try
the latest development release which allows to reduce and, as a result, avoid for long-time locking of your application in case the response does not come.
Sorry for the inconvenience, we all working on this problem.