StreamCopier cannot be used with System.err or System.out as it closes the output stream Bugzilla Id: 55513