Packaging Freezes for hours when there is a unreadable drive in computer

So I ran into this issue recently where my builds stop after the display for Code Cenerated Complete was displayed in the output for a publish. Then it would sit there thinking for 3-6 hours before completing the publishing process. I was about to reformat my PC when I noticed i had a drive that had gotten corrupted and was no longer readable. After I removed the dead drive the build process went from Hours back to 5-10 minutes.

Not sure what other data i can provide you.

As a point of reference the free happened before or around this phase of the build.

UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Finished generating code

UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 108.04 seconds (Local executor: 75.27 seconds)

UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 108.3094498s to run
UnrealBuildTool.exe, ExitCode=0