Invoke after_run on Ctrl + C

Fix #4