public void run() {
while (!stopped_) {
int failureCount = 0;
try {
TTransport client = serverTransport_.accept();
TStatsTransport stats = new TStatsTransport(client);
WorkerProcess wp = new WorkerProcess(stats);
executorService_.execute(wp);
} catch (TTransportException ttx) {
if (!stopped_) {
++failureCount;