in the worker_execute_tree() function waitpid() is not properly handling status
in the worker_execute_tree() function waitpid() is not properly handling status