Fixed HTTP server config issues due to multithreading