fix ANR when aria2 api is timeout.