check the ending of the processess