Method to abort upload

Now is possible abort a upload process.