Improve long-running process handling as described in #8
Merge pull request #10 from thetristan/improve_long_runners

Improve long-running process handling as described in #8