Fix sending interrupt commands after SIGINT

Via @benmoss.  Closes #182.