multi-task download with Lua using luaSocket