Accumulation and release of energy near the light cylinder of a neutron star