Error while installing Unreal Engine 5.0.1 from source

I am trying to install UE 5.0.1 from source, I ran the setup.bat file and got the following error

Checking dependencies... Updating dependencies: 0% (0/97590)... Unhandled exception. System.PlatformNotSupportedException: Thread abort is not supported on this platform. at System.Threading.Thread.Abort() at GitDependencies.Program.DownloadDependencies(String RootPath, IEnumerable1 RequiredFiles, IEnumerable1 Blobs, IEnumerable1 Packs, Int32 NumThreads, Int32 MaxRetries, Uri Proxy, String CachePath)
at GitDependencies.Program.UpdateWorkingTree(Boolean bDryRun, String RootPath, HashSet1 ExcludeFolders, Int32 NumThreads, Int32 MaxRetries, Uri Proxy, OverwriteMode Overwrite, String CachePath, Single CacheSizeMultiplier, Int32 CacheDays) at GitDependencies.Program.Main(String[] Args) Press any key to continue . . .

I have .Net framework 4.8.1 installed.