Need to implement a timeout to limit the maximum running time Example: ```javascript const wrappedFn = await retry( () => new Promise((r) => void setTimeout(r, 1_500)), { count: 3, timeout: 1_000 }, )().catch((err) => { assert.strictEqual(err.message, 'Process timed out!'); }); ```