ability to end subprocesses gracefuly
Merge pull request #3 from fizyk/graceful

Added ability to end subprocess gracefuly