Allow resttests to be aborted by ^C