Check for whether the Write() error contains 'broken pipe' or not