handles ctrl-c