use lua in mulit-thread service