Attach stdin after attach stdout/err to avoid an rpc lock Upstream-commit: 67a47d78a18d799719df61b93a54a246eb97b209 Component: engine