Rather than seeing this as a cute cultural tradition, I see it as a horrible necessity brought on by a terrible culture of almost intolerable boringness in the worship: Faced with an ecclesiastical situation they could not change, the faithful found a way to stay awake and try to engage their being in the worship service. Some people love boring and so they eat stimulants to stay awake. Others, well, others leave.