Fix stack overflow bug of uloop lua binding.