Use asynchronous processing for a merge that needs more time than a synchronous request allows. Save the returned job ID and check its status after a delay. Continue polling only while the status is working. Download the merged PDF after success, and stop on failed, aborted or a job-not-found error.
Set network request timeouts and a polling deadline so the application cannot wait indefinitely. Asynchronous processing does not guarantee completion or eliminate network errors. If the waiting deadline is reached, retain the job ID rather than automatically submitting the merge again.






