* added a logging message when terminating a process