kill threads on ctrl-c
v0.7.0