Occasionally, if a program has stopped responding and still has a lock on the resource but is no longer present in the task ...

Occasionally, if a program has stopped responding and still has a lock on the resource but is no longer present in the task bar, some portions of its code may still be running in the background. Check the Task Manager (CTRL+ALT+DEL) to see if processes related to the  program are still present.