Broken pipe error not supported in older Python so removed.