Implement the execution of XML-RPC call by the main thread