Added methods to handle process termination
Merge pull request #3 from antoniobarbuzzi/master

Added methods to handle process termination