Upload clear fileList after interruptUpload

Hi,

I am trying to clear the file list for an upload but it does not work properly, sometimes it clears the files list sometimes not(some kind of race condition?)

Example code:
uploader.interruptUpload();
uploader.clearFileList();

I even tried to add the clearFilesList call to the failed/finished listeners but didnt work either.

Any idea?