Use server thread as running indicator and use HTTPServer.worker_shutdown flag