Merge: #23792: also catch interrupt around pipe.write.