fixed the way HttpServer deletes HttpHandlers