add the following code to the CLIENT SIDE script of the event that is calling the XAgent.
setTimeout(function() { XSP.allowSubmit() }, 1000);
which sets the button timeout to one second.
From Russ Maher via Jeremy Hodge.
This allows all my excel and pdf export buttons to be able to be clicked on immediately if they hit cancel or click it immediately again.