kill threads on ctrl-c

fixes #60