Just thought that I should put this in here as it took a while for me to resolve.
I'm using a logitech wireless keyboard and mouse. The game used to just stop receiving commands from them. I switch the plug from PS/2 to USB, and no problems anymore. So if anyone out there has this issue, there is the fix