Using defvar to silence byte-compiler warnings.
Don't use process-kill-without-query, it's deprecated