Capture all ReceiveAsync and SendAsync exceptions to cancel all pending operations.