closed STDERR and STDOUT