Changed HttpHandler to not be a Thread