Fixed Control-C bug.