force to have stderr in PIPE which fixes our broken pipe issue in production

Force to have stderr in PIPE which fixes our broken pipe issue in production.