switch to util::waitpid
idiomatic rust