GDS-1323: fix possible race condition with sendBytes.
Merge branch 'master' of https://github.com/graniteds/graniteds