Stop listening when HttpServer is stopped