I don't know what a browser will do when you abort that upload, but I am pretty sure that's where you want to start.