Better error notification for process end.