make master and worker long-running processes