Let me give you a leg into figuring this out. According to MSDN http://msdn.microsoft.com/en-us/library/windows/desktop/ms686709(v=vs.85).aspx
One of the parameters for TerminateJobObject is a HANDLE which is used to locate the job object...
Now ask yourself this question. Do you have the job object handle somewhere in your code? Well do yah punk?