[Curl] Deadlock when downloading.