This is more robust and will solve the issue of `teco-service-generator` binary being outdated. Note that we need to do it asynchronously in multiple threads.