catch the downloading thread exception, and check if download every parts success. if occur in one of two scenarios as shown above, restart a corresponding thread to resume downloading
fix a bug, when don't specify endpoint It will cause deadlock