Often this number is set too high. But in some circumstances it is set too low. Depending on if the program is doing a lot of calculations in the background the computer may think that it is timed out. To prevent this increase the value of the timeout in the registry.
Start Regedit. If you are unfamiliar with regedit please refer to our FAQ on how to get started.
Navigate to HKEY_CURRENT_USER\Control Panel\Desktop
Select HungAppTimeout from the list on the right.
Right on it and select Modify.
Change the value to the new timeout value.
Reboot your computer.