top.aras.applyMethod() blocking application UI

I am using top.aras.applyMethod() in client side JavaScript code for calling C# server method. But it is blocking application UI till the time server method runs and returns result. And I am not able to use any other tabs, TOC, etc meanwhile. I want to know if there is any better way to call the server method from client side in JavaScript.

let methodBody = "<itemId>" + XXXXX + "</itemId>";
let results = top.aras.applyMethod(methodName, methodBody);