Run client in fast-cgi mode, each process runs for 1000 tasks then exit due to memory leak issues of phantomjs.