Removed waitpid loop debug traces