- added process 'stop' event handler