Radiation reaction in electrodynamics and the elimination of runaway solutions