rima.lua: limit rima_get's result by 1000 tasks