Strong hard (ε>100 keV) x rays being observed from impulse atmospheric discharges with maximal voltages from U=0.5 to 0.9 MV just before the breakdown were completely stopped with the use of femtosecond-laser-filament plasma. Runaway electrons generating such x rays and being estimated to achieve their maximal energy, ε~U, near the positive electrode disappear if a laser filament plasma is ignited perpendicularly to the runaway near the positive electrode. A preheating mechanism for formation of the electron runaway in air is proposed.