share state between workers