Do it in another thread?
That would at least not freeze the game, as the gameloop can run while you process. You still have to wait for the results, no way around that.
Edit: I see this is in Blueprint scripting - I do not know if you can do Threading there natively, but it should be possible to do a simple C++ threading part, that just calls your Blueprint code.