Auto-prune old jobs from worker list, fixes #1508