How to use a custom stream on the send port to wrap the orginal stream and execute closing tasks after message transmission.
How to use a custom stream on the send port to wrap the original stream and execute closing tasks after message transmission.