Canceling an XML Load

when I load data into an XML object:

var xml = new XML();
xml.load( "someXmlsource" )

is there a way to cancel the load?

let’s say i had a button that when clicked caused the data to load into the xml object. i’m assuming i could always delete the object, but if clicking the button again before the onLoad comes back recreates the xml object, will the onLoad catch both calls or just the second one?

i wish there were simply a .cancelLoad() function

any ideas on how to handle this?