Handling 5xx webhook failures in Node SDK

Genesys returns 5xx on our endpoint and the platform retries immediately, causing a storm. How do we implement a dead letter queue pattern in the Node SDK to pause retries or queue failed events locally before reprocessing? Need the specific SDK method to acknowledge failure without triggering the default backoff.