Runaway acceleration during magnetic reconnection in tokamaks