starting thread migration