Release RenderScript resources every time

Because RenderScript uses a lot of memory, so I have to release
resources every time to avoid the system killing processes