What happens when process terminates normally or abnormally