add Worker.prune