Fix creating worker pools