Fix exception on Ctrl-C
Merge pull request #20 from Shmuma/master

Trivial fix for None method call on Ctrl-C