A watchdog like program for processes