[Breaking Change] Fix a bug that upload failed to be canceled when thread of uploading is interrupted. Also make uploading throwing InterruptedException when uploading thread is interrupted.