Alex: you have a separate issue, please report your request in a separate bug report. However, I suspect that going System->Preferences->Power Management and setting the "Put computer to sleep when idle" timer to "Never" should cure your issue.
Alex: you have a separate issue, please report your request in a separate bug report. However, I suspect that going System- >Preferences- >Power Management and setting the "Put computer to sleep when idle" timer to "Never" should cure your issue.