Spawn workers when they are needed, otherwise kill them.