Never close attached stream before both stdout and stderr have written all their buffered contents. Remove stdinCloser because it is not needed any more as the stream is closed anyway after attach has finished. Fixes #3631 Signed-off-by: Andy Goldstein <agoldste@redhat.com> Upstream-commit: 5572dbb7504c951f4ddd2710a4037844a95caa6a Component: engine