In 5.1, I believe you will have some event that will be called when import is complete.
In the meantime you can look at something like this: Is it possible, with Datasmith runtime, to wait for import to finish before running the rest of code? - #2 by UE_FlavienP