Add an option for ignoring EPIPE during close_stdout.