Change to the os.devnull, and under Windows sleep before err exit.