Fixes invalid read in FUNC_API_ParallelReceive

Reported by valgrind.
The correct way to do this is to hand off the promise to the other thread so lifetime is preserved. But the fact lambdas won't let you move capture until C++ 14 makes the above a valid workaround. Thanks Peter.