Try this: configuring System Preferences->Energy Saver for Power Adapter to "Put the hard disk(s) to sleep when possible". Now see if the problem still happens.
open