Close stdout as well