close the stdout