Switch back to the old pipe wait code but keep the new code in place (disabled). svn path=/trunk/; revision=49701