add sigint_handler, now can ctrl+c to kill the processing cmd