check child's pid