[BZ 1174139] Fix SIGTERM handling for rhqctl console & rhqctl script