fix embeds sync problem after one worker exit