When running a yum command (such as
yum check-update) it doesn’t always seem to capture the CTRL+C signal in order to terminate the process. This means it sits there for ages while it tries to access the internet.
So, to kill yum I simply background it with
CTRL+Z and then run
kill %1, which will kills the first in the jobs queue. Problem solved!