CFY-907 wait for agent to actually start before returning from start and restart