added feedback when a process ends itself