Which program you want to close. Normally this thing happend when your system is to slow which can be due to low space on c drive, Not Enough Ram, Viruses etc.
How much RAM you have ? Do you have antivirus installed ?
If yes then scan your system.
Best of luck