added kill job functionality