Maybe this is a stupid question... and to be honest I have not looked at the code. But there have been many times that I really needed to terminate a running yum, and right now I have to use SIGKILL and then I usually need do a 'clean metadata'. At best this seems to be bad UI... users need a way to cleanly stop any process on the system. :j