Do not close stdout when that is the output stream