We are sending a request to generate a agreement, but it is not ready synchronously (i.e when we get the response) so we have to keep polling every second until it is ready. We give it 5 tries (5 seconds) and then abort. I see that we have some cases (not many) daily where this happens. When it does customer is unable to sign the document. if you can indicate a maximum "time-to-ready" (TTR?)
Your question should be in the Acrobat Sign community.
You have two options:
If you are using a "wait" type of method, typically 3-5 seconds is a enough time.
You can also use webhooks to push a notification when an agreement is sent. You can set your scope to that specific agreement and that way prevents you from needing to do polling.