The Timing of Social Learning