have useRemote & runRawFun1 wait on their inputs in the spawned thread