Fix corrupted memory crash following Send/Receive operations