change callback from c++ to set timer in lua to get job statuses