Fix problem that was causing the HTTP server to stop answering