use cfork to make sure worker fork and restart