Recurrence of random walk traces