I guess you're out of luck then. Windows is designed in a way so you can always close an executable in some way. If you couldn't, then it would be impossible to stop a virus or trojan as well.