Determining the last process to fail