Dissipation of runaway current by massive gas injection on J-TEXT