[2823-regression] shutdown MyStatsHttpd running on a separate thread
the dangling threads do not necessarily do harm (test failure, etc),
but show confusing behaviors such as leaked exception. explicit shutdown
should prevent these (for a longer term, we should really stop using threads
for the http-handler tests)