Here should not be changed to bg.join(). Here the sleep just the time we should wait for the real test is start in guest,
As we using autotest to run some background test in guest. We should wait for some time for auotest prepare operations like copy source code.