Updated send-receive API to fix race condition in version 0.21