TCP Proxy Wait & Fix for stdout issue