./lib/service.lua:25: standard file is closed