responds to sigint