Fixing bug for return value from callback in C++ (sendReturnObj is called twice)...