added possibility to abort an upload