Make cleaning up expired jobs upon getting a registry's job IDs optional.