Wait migration to be completed before exiting