Hi,
Please refer to the SDK documentation
and use these functions instead:
If the non-blocking functions are used, you need to check whether the transfer is finished or still in progress before launching another transfer.
This function can be used:
Also, I have noticed that you are using the oldest SDK 0.8.6 version.
I would recommend using the new RTM 3.0.0, if possible.
BR, Daniel