respect byteBuffer position on sendByteBuffer