Install sigint handler for program mode too
Merge pull request #6754 from amitmurthy/amitm/sigint

Install sigint handler for program mode too