Couldn't we use `if CentralReport.webserver_thread is not None` instead?