wait upon restart