collecting children exit status