cleanup zombie processes, return errors from setup.