wait for initdone