Merge pull request #14 from x-cray/master

Fix parent process environment propagation to child
Fix memory leak by unsubscribing from process 'exit' event on service restart