add broken pipe error to parent closed rescue block