Padres work with Torres on command