add support for threading tasks to catch SIGINT (ctrl-c) and terminate accordingly. advance to v0.1.1