Execute a function in all the workers at the same time