Set the power plan to "high performance", or edit the current power plan to disable all sleep/hibernate options in the "sleep" section.