Are you turning off the monitor or putting the system to sleep?  If the first then everything will run as expected during system idle.
If this is a UWP app you can list them out from powershell like this
	
	
	
		Code:
	
	
		Get-AppxPackage -Name *someappname*
	 
   If NonRemovable is True for the app in question then yes you can not remove it by normal means.