Large external storage stops working after being connected for a long time
I searched around and found out that there's an option in Energy Saver: Put hard disks to sleep when possible and it's checked on my Mac. You can see the option in the screen shot below: