add loop of JobStatusCallback, maybe use timer in lua instead of Thread Callback in c++