Disk Utility freezes on first aid
i ran a quick first-aid with disk utility today just to make sure everything is running smoothly on my mac. unfortunately the disk utility got stuck on "preforming fsck_apfs -n -l -x /dev/rdisk1s1". i gave disk utility a good 10-15 minutes before i decided to force shut down my mac and boot it back up into safe-mode. when in safe-mode i ran disk utility there before restarting back to normal; first-aid showed everything was ok. i would say this is a first, but unfortunately this has happened before about 2-3 weeks ago with the exact same issue.
i decided to reboot into recovery mode, where i ran another disk utility first-aid(everything ok) and decided to reinstall the current version on macos high sierra. the reinstallation from recovery just finished and disk utility shows that everything is fine, but i do not know why this has happened.
Why did disk utility freeze at "preforming fsck_apfs -n -l -x /dev/rdisk1s1" and what can i do in the future if this happens again? Has anyone else ran into this issue with Disk Utility where they have to force shut down their mac just because it freezes up?
macOS High Sierra (10.13.4)