fix retry
fix worker loop
update package.json