zerocopy
zerocopy copied to clipboard
Close the pipe when the transfer exits
We must close the pipe to release the file handle when transfer exits, otherwise the number of handles may overflow in high-concurrency scenarios.