Multi-process worker implementation.